// ********************************************************************************************************** 常量 ******

// --------------------------------------------------------------------------------------------------------- JSON ------
import * as _jsonHeaderNameConst from './consts/json-header-name-const.ts'

export const JsonHeaderNameConst = _jsonHeaderNameConst.JsonHeaderNameConst
// --------------------------------------------------------------------------------------------------------- JSON ------

// ********************************************************************************************************** 常量 ******

// ********************************************************************************************************** 请求 ******

// ---------------------------------------------------------------------------------------------------------- 工具 ------
import * as _fetchUtil from './req/utils/fetch-util.ts'

export const reqByFetch = _fetchUtil.reqByFetch

import * as _getDataUtil from './req/utils/get-data-util.ts'

export const genGetDataByReqHandler = _getDataUtil.genGetDataByReqHandler
// ---------------------------------------------------------------------------------------------------------- 工具 ------

// ********************************************************************************************************** 请求 ******


// ********************************************************************************************************** 响应 ******

// ---------------------------------------------------------------------------------------------------------- 常量 ------
import * as _resErrResCodeDescConst from './res/consts/err-res-code-desc-const.ts'

export const ErrResCodeDescConst = _resErrResCodeDescConst.ErrResCodeDescConst
export type ErrResCodeDescKey = _resErrResCodeDescConst.ErrResCodeDescKey

import * as _resErrResTipConst from './res/consts/err-res-tip-const.ts'

export const ErrResTipConst = _resErrResTipConst.ErrResTipConst
export type ErrResTipKey = _resErrResTipConst.ErrResTipKey

import * as _resStatusConst from './res/consts/res-status-const.ts'

export const ResStatusConst = _resStatusConst.ResStatusConst

import * as _resPropNameConst from './res/consts/res-prop-name-const.ts'

export const ResObjPropNameConst = _resPropNameConst.ResObjPropNameConst
// ---------------------------------------------------------------------------------------------------------- 常量 ------

// ---------------------------------------------------------------------------------------------------------- 类型 ------
import {ResType as _ResType} from './res/types/res-type.ts'

export type ResType = _ResType
// ---------------------------------------------------------------------------------------------------------- 类型 ------

// ------------------------------------------------------------------------------------------------------- 工具方法 ------
import * as _resGenResUtil from './res/utils/gen-res-util.ts'

export const genRes = _resGenResUtil.genRes
export const genSuccessRes = _resGenResUtil.genSuccessRes
export const genFailRes = _resGenResUtil.genFailRes
// ------------------------------------------------------------------------------------------------------- 工具方法 ------

// ********************************************************************************************************** 响应 ******


// ******************************************************************************************************** axios ******

// ========================================================================================================== 类型 ======
// ------------------------------------------------------------------------------------------------------- 命名空间 ------
export * from './axios/types/axios-namespace.ts'
// ------------------------------------------------------------------------------------------------------- 命名空间 ------

// -------------------------------------------------------------------------------------- 生成请求方法的工具函数的类型 ------
import * as _axiosGenReqUtilType from './axios/types/gen-req-util-type.ts'

export type GenAxiosReqUtilReturnType = _axiosGenReqUtilType.GenReqUtilReturnType
// -------------------------------------------------------------------------------------- 生成请求方法的工具函数的类型 ------
// ========================================================================================================== 类型 ======

// ======================================================================================================= 工具函数 ======
// ----------------------------------------------------------------------------------------------------- 请求拦截器 ------
import * as _axiosReqInterceptorUtil from './axios/utils/req-interceptor-util.ts'

export const addAxiosReqInterceptor = _axiosReqInterceptorUtil.addReqInterceptor
// ----------------------------------------------------------------------------------------------------- 请求拦截器 ------

// ----------------------------------------------------------------------------------------------------- 响应拦截器 ------
import * as _axiosResInterceptorUtil from './axios/utils/res-interceptor-util.ts'

export const addAxiosRespInterceptor = _axiosResInterceptorUtil.addRespInterceptor
export type AxiosFulfilledHandlerHeadersPropType = _axiosResInterceptorUtil.FulfilledHandlerHeadersPropType
// ----------------------------------------------------------------------------------------------------- 响应拦截器 ------

// ---------------------------------------------------------------------------------------------------------- 请求 ------
import * as _axiosReqUtil from './axios/utils/req-util.ts'

export const setAxiosReqData = _axiosReqUtil.setAxiosReqData
export const getAxiosReqData = _axiosReqUtil.getAxiosReqData
// ---------------------------------------------------------------------------------------------------------- 请求 ------

// --------------------------------------------------------------------------------------------------------- POST ------
import * as _axiosPostUtil from './axios/utils/post-util.ts'

export const genAxiosPostForm = _axiosPostUtil.genPostForm
// --------------------------------------------------------------------------------------------------------- POST ------

// ---------------------------------------------------------------------------------------------------------- GET ------
import * as _axiosGetUtil from './axios/utils/get-util.ts'

export const genAxiosGet = _axiosGetUtil.genGet
// ---------------------------------------------------------------------------------------------------------- GET ------

// ------------------------------------------------------------------------------------------------------- DELETE ------
import * as _axiosDelUtil from './axios/utils/del-util.ts'

export const genAxiosDel = _axiosDelUtil.genDel
// ------------------------------------------------------------------------------------------------------- DELETE ------
// ======================================================================================================= 工具函数 ======

// ******************************************************************************************************** axios ******
